package com.zzyweb.rentalcarsys.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;

/**
 * @author zhiyi
 * @date 10/9/25
 **/
@Data
@NoArgsConstructor
@TableName("car_info")
public class Car {
    @TableId(type = IdType.AUTO)
    private Long carId;
    private String carMake;
    private Integer carType;
    private String carModel;
    private String carFeatures;
    private String carPlateNumber;
    private Integer isDelete;
    private Integer state;
    private BigDecimal rentalRate;
    private Integer carMileage;
    private String picture;
}
